package com.itlong.cloud.POJO.VO.property;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <desc>
 *      住户信息-设备授权-获取用户设备权限
 * </desc>
 *
 * @createDate 2017/09/30
 */
@Data
@NoArgsConstructor
public class AppUserGetDeviceAuthVO {
    private String deviceUnique;        //设备唯一码
//    private String doorAuth;	    //门禁权限，若有则为8
    private String naturalFloor;	//用户在电梯设备拥有权限的楼层标识，以英文,拼接，eg 1,2,3...
    private String logicalFloor; //用户在电梯设备拥有权限的楼层，以英文,拼接
    private String tempFloor;   //用户在电梯设备拥有的非地址的权限楼层，以英文,拼接，eg 1,2,3...(注：相同电梯设备上除地址对应以外的楼层(此处楼层指logicalFloor)信息)
    private String deviceType;      //设备类型
    private Integer isChecked;      //能否被选中(0:已选中但无法更改 | 1:已选中且可以更改 | 2:未选中)

    public AppUserGetDeviceAuthVO(String deviceUnique, String naturalFloor,String logicalFloor,String deviceType, Integer isChecked) {
        this.deviceUnique = deviceUnique;
        this.naturalFloor = naturalFloor;
        this.logicalFloor = logicalFloor;
        this.deviceType = deviceType;
        this.isChecked = isChecked;
    }

    public AppUserGetDeviceAuthVO(String deviceUnique, String naturalFloor, String logicalFloor, String deviceType) {
        this.deviceUnique = deviceUnique;
        this.naturalFloor = naturalFloor;
        this.logicalFloor = logicalFloor;
        this.deviceType = deviceType;
    }
}
